package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

@Component
public class FeignFallbackService implements  FeignHystrixOrderService{


    @Override
    public String paymentInfo_OK(Long id) {
        return "  paymentInfo_OK,FeignFallbackService在访问服务器过程中，服务器突然宕机，/(ㄒoㄒ)/~~";
    }

    @Override
    public String paymentInfo_Timeout(Long id) {
        return "  paymentInfo_Timeout,FeignFallbackService在访问服务器过程中，服务器突然宕机，/(ㄒoㄒ)/~~";
    }
}
